package com.example.service;


import com.example.entity.dto.salesSlipDto;

import java.net.UnknownHostException;
import java.util.Map;

/**
 * @author : ssy
 * @date: 2024-04-24
 * @Description:
 */
public interface SalesService {

    /**
     * 根据通知单生成销货单
     * @param salesSlipDto 销货单DTO
     * @return 生成结果，销货单别单号
     */
   Map<String,String> salesSlipByAdvice(salesSlipDto salesSlipDto) throws UnknownHostException;


    /**
     * 根据订单生成销货单
     * @param salesSlipDto 销货单DTO
     * @return 生成结果，销货单别单号
     */
    Map<String,String> salesSlipByOrder(salesSlipDto salesSlipDto) throws UnknownHostException;
}
